TextGraphics working well in gamewindow