BUG #14487. Fix segfault in plot matrix view.

Change-Id: I270111f76e0b8d989a9183e17c163f4e3e0347dd
Merge topic '14487_fix_segfault' into next

9d7994bc BUG #14487. Fix segfault in plot matrix view.