Optimise text button rendering