fix position offset bug
fix walking-off-map bug