Dev

A fix for bug #863. stopFullScreen is run against document instead of the canvas since the cancelFullScreen method is created on document instead the element.