I actually totally disregard Return of the Jedi to tell you the truth. Yeah the inbreeding crap is pretty atrocious writing.
That didn’t happen in RotJ. At all.
Leia was never romantically interested in Luke (in the films, anyway).
She kisses Luke in ESB to make Han jealous and get him to stick around, not at all because she’s interested in Luke.
This “love triangle” must come from the EU, because it isn’t in the movies.