Hack to prevent blank screen from appearing when starting the app.