fixed up clearBeforeDraw() documentation