Mask collision for entities.