fixed bug where player would travel through walls
Fixed bug where player would travel through walls in a simpler way