Fix Crop tool loosing aspect ratio on move
Previously there was no check for boundaries after the new
rect position is calculated. Before applying any offset on
move drag we check we no longer go ouside of the
image bounds.
For aspect ratio we keep aspect ratio growing into the
image instead of outwards getting some weird behaviour
BUG:343586
(cherry picked from commit 9b45d78661e01f54f5bd78ae2233407ee79d0ea3)