Puzzling malfunction in puzzle diagram


I think this is known bug and staff are aware.

I haven't been able to find a hypothesis for why it seems to occur for all FEN positions I get from games, but not for some I create from scratch. I was hoping someone here (where puzzle diagrams are often posted) would identify a factor that might help avoid it.
Unfortunately, I am aware that chess.com can be aware of a bug, aware that older code was running perfectly well and leave code with bugs running for months without taking the obvious step of temporarily reinstating the working code.