Replace removed labelVisible with displayMode.
#1384
Merged
labelVisible with displayMode.
#1384