Fix scanner display bug introduced in 50895952

See aegidian.org/bb/viewtopic.php?f=9&t=14238 for description.