Bugfix for karyotype view.