fixed ball bouncing issues