Fixes some GUI issues with the histogram settings