fix for ui-grid not rendered properly issue in qt