Changed MouseEvent deltaX,deltaY to num type