bugfix appendTo and context2d/3d