Prevents overlays with invalid icons to be added to the cache