I see that code now and then when my connection is slow (it's the code attached to the button) but it "should" render the button when the page has finished loading.
Courses and course formats
Completion Tracking issue in Course
This discussion has been locked so you can no longer reply to it.