Put in a check to prevent collision resolution from moving entities in the opposite direction from the collision check due to floating point inaccuracies.