Fixed bug where selection wasn't properly restored on IE 11 due to a browser bug with Element.contains.
Fixed issue where the style attribute would have the value of undefined when editing images.