Fix redrawing with the new event system.