fixes #826

fixed bug with visibility containers(when disabled state)