Refactored canvas renderer routine to use draw();