Bugfix, leaving scope and returning caused a canvas error in firefox related to clipping bounds.