Bug 1033964 - [NFC] Could not share the file which opened via notification

https://bugzilla.mozilla.org/show_bug.cgi?id=1033964
bottomMost.element
appWindow.frame is a backward compatible property, don't use it anymore