CSS of dropped element updated

If dropped from another window the element's attributes' CSS wasn't
applied.