Fixes an error that hides controls forever after hiding them and clicking a control