Fixed some lag with redrawing