avoid 'Uncaught ReferenceError: fullScreenApi is not defined'

this message was appearing at random