Properly disables presentation mode

Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=877612 . Set "full-screen-api.enabled" is false to replicate the issue. See https://developer.mozilla.org/en-US/docs/Web/Guide/DOM/Using_full_screen_mode