Slider: Reset positioning when orientation changes

Fixes #10105

I think this is all that's needed.