You might have an editor script in your project that messes up the GUI matrix or you use direct render functions at the wrong places. Try (temporally) removing your editor scripts or start a new empty project. If the problem persists It’s something wrong with your hardware / software configuration.
Keep in mind when you render something in OnGUI “manually” to only render it on Repaint event. Never do rendering on Layout or any other events.