Intel graphics bugfix

Explicit calls to hide and show menu bar on editing.
That fix the bug on Intel video card in OpenGL mode.
Merge pull request #1029 from Lopuska/patch-3

Intel graphics bugfix