Fix layout issues on Android.