Fixed preloader bug