Bug of paper 2D

I didn’t know how to fix the problem, and the roof kept flashing as the character moved.The ground is always wavy when my character is still.As in video, it looks bad。

There is no video link, but it is likely that your sprites are overlapping, shift them to different Y coordinates and check again.