Updates the CPU movement so it can't move faster than its speed.