Overlay appears in correct position if scrolled down