I can't reproduce this issue. In my experience, this only happens when you deploy an application that is not built for the target device.
Edit: I built a test application using the code you provided in the original issue. I built it for the simulator and ran it in the simulator, image is not inverted. I built for the 920 (I'm using the 3.07 firmware) and deployed on the 920, and the image is not inverted. Here is a link to the sample application. The Test.prg in the root directory of the zip is for the 920.