Trying to fix the slow draw problem.