Deal with negative depths.