Added a workaround for triggering a black navigation bar