fix revert position firefox