Avoid running condition in marker drawing