Fix client side GUI being called on server.