Fix a bug of layout when showing a same content