Negative Value in disp_flush

I’m getting -1 for the value of area->y2 in

disp_flush(lv_disp_drv_t *disp, const lv_area_t *area, lv_color_t *color_p)

The other area values seem to be correct. What might be the cause of this?