Fixes a problem on mobile devices