fixed bug where player would get stuck in block