Fixed bug where double-clicking empty space below the list of defects will throw an exception if no defect is selected, or open the defect if one is selected.