resizeWindow() was comented