initial visibilitystate and hidden set correctly
Merge branch 'topic/getVisibility' into next