Corrected bug where slider doesn't show the value.