Fixed an error with buttons not being detected on a mobile