Allow region selection zoom.
Use auto_ptr for m_oldMousePos in PaintArea