Reverting changes which slowed down graphics performance.