Issue present in both 1.18 and 1.19.
Player cannot properly defend themselves when using the slow walk toggle in order to walk around with a broken leg, upon raising your weapon the toggle is disabled and character will begin taking shock damage, eventually knocking you unconscious.
Simply tapping the raise modifier key even when standing completely still disables the toggle, but ideally you should be able to slow walk while keeping your weapon raised as well.