fix problem with switchable-button tool tip

Closes PR 12562

Merge to v5.3.4