The bug is pretty simple - you are forced to stand up after firing a shot from sniper if you are crouching