Fix UI-bridge URI mapping if URIs received out of order