As long as the rain flap didn't compromise the actual seal when the top was in the down position, which might be hard to do depending on how wide the wall of your truck bed is.
There isn't much room at all there, especially if you're using a double bead seal.
I can't sew, thus my tarp idea ...