Resizing the Klotski window is now working properly.