Fixed bug in display gui.