Add some fixes for mobile.