[Bug 51122] 5.0.3 vs 6.x - slow performance in graphics