Fix some bugs in Enemy outOfScreen and Path scoring