Fix: Drag issue in Firefox, used 'appendChild' instead of 'insertBefore'.