gui: fix hiding of unused fields in heartbeat class resources