Fixed attributes rotating when editing