Have you checked the value of 'mouse_mode'? Make sure that it's set above 0 to allow buttons and sliders to react to it.