What board do you use? What means Inverted? Colors are inverted, picture is rotated?
I tried it on DE2 (cyclone II) and DE1-SoC (cyclone V). It acts the same way.
Could you post a screenshot of your Qsys-System. Have you configured something at the VGA-Output-Chip?
For more complete information about compiler optimizations, see our Optimization Notice.