fixed mouse event offset

- centered canvas
- used .innerWidth to get window width
- subtracted width of canvas from mouse position