fixed false movements when entity should be still