Solved, thanks! Yes, before the viewport was still small when opening in fullscreen, but now it takes the whole screen and the overlapping issue is no more.