Removed stray reference to endOfDrawing()