Mobile compatibility fixes