That's ... the current behaviour? At least on Debian Firefox ESR 115, and also on all versions I remember to have used.