Import updated patchcanvas.py file from Carla