To reproduce: sprint set to toggle; activate sprint; while standing still toggle crouch "on"; aim (RMB default) => crouch toggles off.