WGTicon: you do not need to, it's taken out automatically. what you see is a transparent image of the flag, which is there for reference only.
The flag disappears only if you're putting on the green.
From anywhere off the green ( including the fringe) you pull the pin by clickig on the flag icon on the top right corner of your screen .... where the yardage & wind info is displayed.