Remove bug where entity slides into wall before realizing that it can't do that