 
 		set: (value) ->
 
-			# console.log "#{@constructor.name}.#{name}.set #{value} current:#{@[name]}"
+			# console.log "#{@constructor.name}.#{name}.set #{value} current:#{@[name]}", targetElement
 
 			# Convert the value
 			value = transformer(value, @, name) if transformer


			@_properties[name] = value

			if cssProperty isnt null
				if name is cssProperty and not LayerStyle[cssProperty]?
					@_element.style[cssProperty] = @_properties[name]
				else
					@_element.style[cssProperty] = LayerStyle[cssProperty](@)

			set?(@, value)



		# We have to create the element before we set the defaults
		@_createElement()

		# Create border element
		@_elementBorder = document.createElement("div")
		@_element.appendChild(@_elementBorder)
		@_elementBorder.style = _.extend @_elementBorder.style,
			position: "absolute"
			width: "100%"
			height: "100%"
			boxSizing: "border-box"
			zIndex: 1000
			pointerEvents: "none"

		# Sanitize calculated property setters so direct properties always win
		layerPropertyIgnore(options, "point", ["x", "y"])
