Fixed crash while recording radio buttons.