Fixed the issue with the context menu falling off the bottom of the scre...

...en when in conjuction with the treeview control