Hey -
Sorry for the delayed response. I am still investigating this issue however finding steps to reproduce this has been difficult. As a work around, if the compile button disappears/stops functioning you should be able to close and reopen the project. Doing so should bring the Compile button back.
Cheers