ball randomizes position on start - that could mess up the collision detection with the edge so just hit it a few more times till it works