I also experiance this.

Try playing around with how your script is set out (I assume you're using /hop as a script command as manually typing it seems to work), I found it behaved differently if I put it on a line by itself (without { or } or |) - which is very weird.