Improve previous commit: better position in old Firefox versions