I of course found that as well and am doing something similar, but that doesn't change the need to transform between the different coordinate systems. I am not sure about the upset down flipping. It is probably both, on the other hand, it doesn't really happen in the examples, so it might be only related to my wrong transformation.