Fix layout issue on iOS