Fixing bug when the max freq to draw was set to "max" in the system.