Avoid warning when slider min and max are both zero.