Fixed delete button not showing for freetext