fix for disabled border colors not always showing up properly