fix position of new nodes in Firefox