Use default LineProperty for history if _lineProperties vector is empty.
_lineProperties is assured to be the same size as the screen at the end of resizeImage(), but in the middle it can be smaller, including empty. So, do not assume it is not empty.