Fixed offset issue with objects