i fixed the size of the window, see if this helps