Correct IE10/11 "Unspecified error"

Places element.getBoundingClientRect() inside of a try…catch to catch
the potential IE10/11 error when trying to obtain sizing information
from an element not attached to the document. See
http://bugs.jquery.com/ticket/4996