Ensure that go to definition starts on UI thread