Fixed app crash when dir "imgcache" doesn't exist