fixed loading screen blit
fixed the require file to use exports