Fix resizing rectangle control on non-square pixels. (shotcut-33)