Added fix for Mozilla browsers, where offsetY property may not be present on mouse move event, falling back to the pageY property