added a mouseMotionListener so a selected shape can be dragged across
the screen by its center. need to figure out why the position had to be
adjusted so much (see line 310-312 atm)