Patch for IE8 menus

https://prototype.lighthouseapp.com/projects/8886-prototype/tickets/618-
getoffsetparent-returns-body-for-new-hidden-elements-in-ie8-final#ticket
-618-9