Added renderCanvas