fixing fastcanvas