Fix depth collisions