Fix button hit testing.