I would just use a bit of contact adhesive Dave. Apply to both surfaces and then either fit the header rail to the screen, or slot some wood in the groove until the glue sets.
It's a bit fiddly to fit the header rail at the best of times & mine's had a new seal already, just before I bought it.