Fixed a crash in draw() when Sketch is empty.