Fixed mouse coordinates when canvas is scaled.