Java: MouseListener does not register when objects move on screen

Printable View