Fix opacity for Slider

Fix Build for #7296

All credits goes to @Pisces000221