Bugfix -- check line and marker plex size.

(cherry picked from v5-34-00-patches commit 62128f684910679754c75cf1168a84212971465e)