``resizeWindow`` uses ``current`` for the main window, not an empty string. Shouldn't it be the same here ?