Merge pull request #6859 from spycrab/qt_restore_size Qt/D3D: Fix render widget size not being restored properly