Confined ball to applet screen size and it bounces around screen