Added circular collision detection