Fixed overlay not being in the correct position on tablet and mobile.