Fixed graphics bugs.

The dragged ball can't go left of the main ball. The popover disapears
at the right time.