Font of whole web app changes when preferences is opened

When we open preferences from "Edit->Preferences" font of whole web app changes.

Before:

image

Effect on menu:

image

After:

image

I am starting to work on this issue