Fixed!

Finally, fixed. I used the timer class to limit the fps, and updated the
ball image with anti-aliasing.