Fixed a pivot item offset issue