Fixed mobile checks

Closes #577