Automatically resize one-window frames to fit