Bug fix in Gui Element