Avoid crash when displaying file with 0 points