Fix callback called twice after firefox scroll fix.