fix(fullscreen.js): fix misc bugs

It works now, in chrome at least!