Fix crash when Classic theme selected

Classic theme uses DynamicResource for ProgressBar Foreground