Fix bug: failed to load firefox as CPaintManagerUI::GetInstancePath() cannot get application path on application startup.