Fixed bug where player going up against wall glitches out