svg: create marker only once

there is no need to create marker each time