Corrects bug where height and width were swaped
Adds resizing handles