Fixed layout issues on iOS