Fix fullscreen centering in Firefox

Closes #2.