Prevent cinnamon from freezing when changing font scaling factor, closes #2194