range values will be re-calculated when setting new maximum/minimum or step values

These changes fixes a bug with incorrect visualization of undefined
range values.