Fixing custom rotation support for the settings screens.