fix overlay issues on mobile