Fix issues from using adjustedDepth too broadly