Fixing some Metal runtime validation errors.
Fixed projection flipping bug for Metal render textures.