Fix application layout error