Fix a crash on the settings screen on tablets