Set second rectangle origin
Fixed mouse movement for zoom