Bugfix to menustate, gui rendering moved