Cycles Mist - White artifacts around edges

Hello! I am trying to render a scene using the Cycles with a mist effect. I want the mist to be dark, however the darker I make it, the more pronounced these white lines along the edges of some objects are. I did some googling and someone suggested setting the Film Width under Render Settings to 0.01, which worked, but some of the replies to that suggested that that isn’t the correct way of doing it.

Below should be a screenshot of the compositor setup with the resulting effect, and the mist settings.




Thanks for any help!

Edit: The effect didn’t come out well in that screenshot. Here is a zoomed in version:

Have you tried messing with the premul settings or perhaps even just using a plain color mix node?

Thanks for the reply!

I don’t see any noticeable difference in the render when changing the premul value. A color mix node yield the same results as the alpha over node.