I already solved. Both Header and footer, starts to hide randomly when you use EmptyViews together. You only need to change Both to Template option. then they won't hide anymore.