Render callback now returns with the rendered canvas as the third parameter