Bug screens on portlights don’t last very long, because they are mounted on the outside of the window and subject to the elements. Most manufacturers have replacement screens, but if you have twelve like on my boat, it can be expensive.
This article shows you have to make your own bug screens, using swimming pool mesh. It’s a simple and inexpensive method to solve the bug problem.