Stop error on parentAttributes.visible