fix positioning in overlay