Fixed isVisible call for widgets