its defo not the modpack , as its happened to me on vanilla client . even doing reinstall and uninstalling ever single folder associated wth wg xvm and aslains modpack ,
it still does it with vanilla client . as its not happened to me during a battle its not really an issue , but for your case it wud be frustrating..
wat leads to me to thin its a graphic problem is that we both have NVidia graphics