fix navigation bar hidden and tint color after dismiss