Stop-gap fix for stuttered resizing of gtk3 windows.