Fixed bug getRotation for mat2d not showing correct rotation. Created transform component that wraps a mat2d in a component.