Properly store width values in widget template.