Better insert raw tags in visual mode:
[tag]<caret>[/tag]
(as in plain mode)