Closes #3557 getPlotLinePath returned undefined instead of null