Intel graphics bugfix

Explicit calls to hide and show menu bar on editing.
That fix the bug on Intel video card in OpenGL mode.