Hack for supporting pasting images into the composer in Firefox.