Fixed bug with visibile convention and virtual elements