Corrected menu positioning between animation completion and script