fix performance by precaching all sprites