The trigger was the call to line-move-visual in nim-mode. So you need
to do something that causes that function to be called by nim-mode,
when Org does the indent thing. I think this doesn't happen
frequently because most modes used in source snippets in Org buffers
don't call line-move-visual (why would they? that function is for
interactively moving cursor vertically).
Kaushal Modi