Fix context-menu position

Similar to
https://github.com/Codiad/Codiad/commit/fbf311cf0fc1cab829e0ccce5788279e145e27f4
from default theme
Merge pull request #1 from barraudf/master

Fix context-menu position