Fixed messaging race-condition bug in remote-ui
Contributed to open source
https://github.com/Shopify/remote-ui/pull/215