Fix tag directive show/hide inconsistency

Fixes #557