Prevent UIMenu from going over the screen in the IDE.
Merge pull request #245 from CIB/cleanup

Prevent UIMenu from going over the screen in the IDE.