various fixes to style_settings, fixes frappe/erpnext#955