 		# API
 		@shapes = []
 
-		if not options.fillParent
+		if not @fillParent
 			@dom.width = @width
 			@dom.height = @height
 			@dom.style.width = @width + 'px'


		window.canvas = @dom

		onResize = (e) =>
			canvasRatio = @dom.height / @dom.width
			containerRatio = @container.clientHeight / @container.clientWidth
			if containerRatio < canvasRatio

		@height = options.height
		@fps = options.fps
		@container = options.container
		@fillParent = options.fillParent

		@isDrawKeyPoints = true

