Create canvas to record mouse movement
Currently it appears as if the pixel is not drawn at the actual cursor position as you would expect.