Fix bug with mouse position and scaled boards

The retina fix introduced a bug with mouse position, since a mouse
positioned 500px from the left of a 1000px board on a retina display
(pixelDensity === 2) would look as if it were halfway across, but would
be calculated to be 1/4 of the way across a board that is 2000px from
the renderer's perspective.