Phoenix uses OpenGL, but resizing won't cause a single problem beyond the maximum or minimum size of the window. The 0,0 point is the upper left hand corner of the window and that never changes. Having tested a few things similar, I can say there is no problem with coordinates or the window's size -- but there could be with the coordinates in the loop or their order.