trying to make character not walk through right wall