Added ability to resize and move shape objects.