fix for #113 (and also a BlackBerry theming issue).