Better solution to find a valid canvas for the displayed valuenodes