Fix oriented collision detection