Minor fix. preloadImage added