Fix Bug 906077 - Make full screen button function properly

https://bugzilla.mozilla.org/show_bug.cgi?id=906077

WIP