fix bug:move to the edge the playermarker will not able to be in the right place