Make mouseInput measure from top left of canvas

Had to use mouseInput. instead of this. because it doesn't consider
itself to be within var mouseInput but instead within an html
eventlistener.