There are several ways to solve this problem:
1. Set a porch in the living room to change the air flow direction at the entrance.
2. Place broadleaf plants between the living room and the bathroom.
Hang a bead curtain between the living room and the bathroom.
4. Change the bathroom door into a concealed door or a sliding door.