Fixed pi/2 rotation for inverted render targets.