A few fixes for the broken glance-image-cache (ZD4827)