Fix some link hijacking bugs

Bugs with clicking internal tiddler links in tiddler-details and with
clicking tags within tiddler-details.