temp disable resize window