Fix the IE8 menu display bug

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