Fixed GUI rendering error (Qt 5 regression)