Fixed incorrect robot behaviour nead the corner of the wall