fixed bug that makes entities faster when they are sliding along walls