Fix (and rename) depth write