Fix contrast theme widget loading issue.