Move code that prevents moveTo from running