This isn't a glitch. Coal is one of many elements that has default properties used to determine state (like whether it is currently on fire). It defaults to a life of 110 and a tmp of 50. So just do !set life coal 110 and !set tmp coal 50 and it shouldn't burn.
Maybe there could be an alternative to !set which creates the elements with their default properties, but not sure how often that is required.