Seems that's an issue with snaps and not specific to firefox, at least trying with evince it has the same issue
Seems that's an issue with snaps and not specific to firefox, at least trying with evince it has the same issue