Add check for browser type
PMC-19157 - math zoom changes.