It's possibly caused because of your high ping and packet loss, can you please do /pl and /ping with screenshot next time something like this happens, so we can determine if that is the cause.
I was able to reproduce it with having a high ping/packet loss.