 				console.log 'drawShapes(): unknown shape: ', shape
 		@drawShapes shape.children if shape.children?
 		@drawShapes shape.keyPoints if @isShowKeyPoints
-		return this
+		@
 
 
 	drawPoint: (shape) ->

			@dom.style.height = height + 'px'
			@render()

		window.addEventListener 'resize', onResize
		@dom.addEventListener 'DOMNodeInserted', onResize


		tick = =>

			@context.rotate shape.rotation
			@context.drawImage shape.image, dx, dy, w, h
			@context.restore()
		@


	drawBounds: (bounds) ->
