Fix padding affecting rotation origin