Fixed register movement bug