Change the speed of the 3 balls.
This is what it looks to me a perfect collision detection script for sprites with constant and equal speed. I guess timing and speed should be linked in some clever way. When the speed gets close to 30 the balls start to overlap. The collision routine is not mine. It is derived from the beatiful @Colkadome's "Ultimate Pool" project.