Fix for dropdown and slider