Changed panning and zooming

x,y coordinates are no longer multiplied by the scale. We multiply the
x,y coordinates by a scale at the moment we zoom. Panning with the mouse
is therefore more smooth.