Minor bugfixes for anchors as buttons.