Minor bugfix in detail window