IE8 Bugfix: Testing for nodeType instead of instanceof HTMLElement in method flagFixed.

IE8 hides the HTMLElement object so it appears undefined for javascript.