Fix transition positioning