Fix stop/jump to end in Firefox