Fixes #14545. In-body STYLE element returns nonzero dimensions

Reported by bggardner

This also occurs with script elements
See http://bugs.jquery.com/ticket/14545