Avoiding double draw() calls

Tracking IRC discussion http://logbot.glob.com.au/?c=mozilla%23pdfjs&s=6+Jan+2014&e=6+Jan+2014#c2101