Fixed collision detection in game3