Character moves within the boundaries of the map