Fix for HTML button respecting delegate on iPad