Add translation to shapes