Added flipped drawing of textures