Fix movehead infinity loop problem and update to newer forge