Fix simulating clicks in the button view