um... that happens to me a lot and i just go to my inventory and exit and then you stop loading... it isn't a glitch... it is when your computer is not loading right. Did somebody ask you to trade then that happened? if it did your computer didn't load right lol it happens to me i looked up why and that is what it said......
Hope i helped
~alysiacoco