grayplot: Fix treatment of vlines and hlines