History panel: restore broken on_click event for frames