Fix gui plugin show/hide functions