 			for index in indicesToRemove.reverse()
 				@_element.transform.baseVal.removeItem(index)
 
-		rect = @_element.getBoundingClientRect()
-		@_width = rect.width / @_parent.canvasScaleX()
-		@_height = rect.height / @_parent.canvasScaleY()
+		@calculateSize()
 
 		super(options)
 

		when "originX" then sizeProp = "width"
		when "originY" then sizeProp = "height"
	return value unless sizeProp?
	return (layer[sizeProp] / layer.parent[sizeProp]) * value

class exports.SVGBaseLayer extends Layer
	# Overridden Layer properties

{LayerStyle} = require "./LayerStyle"
{Layer, layerProperty} = require "./Layer"
{Color} = require "./Color"

