Fixes issue with CCSlider