fix crash in follow movegen when targetpos can't be determined
Merge branch 'master' into oldcoder_special_2.0