Make debug mode play nice on mobile