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