border of tile map detection and player movement's working well