Fix issue 131: setVisibility() broken with multiple axes