Stop drawing on mouseout
Panning implemented