changed to only collide with moving entities