case of missing TitleView

When using a titleView instead of simple title in the navbar the
overlay view would cover it on rotation. Fixed with this commit.