Merge pull request #1544 from pandamicro/develop

Fixed #3916: Extra check for firefox mobile to avoid this issue