Losing parts of rectangle

I made a simple banner that goes for 5 seconds switches to another image and to another, but whenever I preview it safari, I have the rectangle I placed with a border of 1px solid, disappears at a certain breakpoint…wondering if anyone had this problem or had a solution for it… Thanks

Can you share an example document?
What browsers are you seeing this issue in?