fix dim overlay covering the whole image for phones