fixed gui visibility toggle