First thing I'd recommend is to type /remote off
this will disable any and all scripts that you might have, then see if the same thing still happens. If it doesn't then the problem is in a script that you have.
If it does still happen, then I'm going to have to turn this over to someone more experienced, as I can't think of anything else (at the moment)