fix incorrect plotting of surface-state markers