Patched GUILayer.java