Make pause/speed virtual buttons work again.

Fixes #2669.