Fixed picture loading if there is no pictures or a folder