It is kind of annoying.
If npc chatter would auto take you out of crouch it would probably solve it. Im finding that you must stand before you talk to a npc or use a machine cause it will skip your dialogue or the npc dialogue if you choose to stand up via crouch without realising you can...