the alignment of the window frame with the ship's hull is indeed working well that way, just the glass plane does not cut through entirely the underlying hull meshes - which reckon can be expected with this sort of uneven/curved mesh
component glued to.PNG