Get rid of the flicker between preloader and main screen