In preview mode (editor mode) isVisible flag is ignored