...after death and respawn, place a command block.
MC-88042 /kill Breaks building animation on Commandblocks!
MC-88168 Can't edit Command Block after death
MC-87872 Can't open command blocks after death and respawn or changing dimensions
MC-87877 Command block break particles don't appear after death and respawn