Fix #1023: Without ie-module css() on empty selection causes type error in Firefox

Firefox (like IE) throws an error, if window.getComputedStyle is called with
an invalid argument.

getComputedStyle was called, before the argument was checked. This caused an
error,if css() was called on an empty selection.