minor graphics perf improvement