Either side of the Velux in our roof, is a doubled rafter. Have a look:
There's a slight gap between them, one or two mm: not much, but enough to make me think that something needs to be done. One rafter has a slight twist in it....
Foam?
Bolt?
Screw?
Ignore?
Foam and bolt?
Get a life?