Adjust the position of the context-menu by its offset parent position

Currently if a developer positions the context-menu DOM (or any of its parents) using absolute/relative positioning etc, the context-menu may be positioned incorrectly.

I've added code to account for the context-menus offset parent.