Fix labels in detector layout plot