Fixed bug with mixing up enabled and visible