fixed an slight glitch with transitions and origins