fix QT_Size so that grid graphics now works