Privacy without boxing the deck in
A full height screen on every side turns a deck into a room with no view. Screening one or two sides where the sightline actually is, using slatted panels or planting integrated into the deck edge, keeps the space open while solving the part that bothers you. A pergola with side panels on the neighbour side does more than an extra foot of fence.