Download and run this mission:
{F4279187}
The init.sqf script creates some "script lag" for this bug to appear
When in game press Esc and select "Respawn"
Two things may happen:
# The respawn menu comes up
# Player automatically respawns (The bug)
if the automatic respawn doesn't happen first time you press the respawn button try again. In my testing every third attemp lead to the bug