[Engine] Catching possible errors while loading textures