minor fix for getEntitiesCollision()