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