fixed ball centering and Racket inheritance