added support for 2d canvas