Fixed layout error with nested views