Bug 985345 - Skip visibility position determination if element has 0 offsetHeight.