updated canvas2d plugin