Fix context-menu position

Similar to
https://github.com/Codiad/Codiad/commit/fbf311cf0fc1cab829e0ccce5788279e145e27f4
from default theme