Highlight panel buttons when the panel is visible.

Fixes #349.