Respect resDepth again