corrected resize

- resize positions are now calculated wrt the oabb.
- corner resize now correctly apply shifts in x and y from both
top/bottom and right/left changes.