"Added to Cart" Popup Overlapping on Header

im about a year late lol but im still getting this issue after adding the above code. Any tips on how you got it to work? Anything else you had to do?