fixes #841 -- "Image Insert Breaks on FireFox" 

https://github.com/alohaeditor/Aloha-Editor/issues/841#issuecomment-12626196