Fix grid context menu position for Firefox

Firefox does not have offsetX. pageX is absolute and lets the menu jump all over the place.

Solution based on http://stackoverflow.com/a/21780843/2127439
Merge pull request #479 from wolfmanx/fix-grid-menu-position-ff

Fix grid context menu position for Firefox