Fixed loading of page without having to wait for onShown