IDE-1655 fixed the problem that layout editor preview page doesn't relea...

- don't set font if the new correct one is the same as old one