Fix fullscreen button. Closes #1118.