Work around Firefox transferable object bug.