image ghosting
refactored out midpointx/y
refactored midpoints to width/height
fixed midpoints on shape rotation for selection