Let $\mathcal{E}$ be a stable sheaf on a smooth complex projective threefold $X$ and $Ext^k_0(\mathcal{E},\mathcal{E})$ be the traceless Ext groups, defined by the kernel of the trace map $$ Ext^k(\mathcal{E},\mathcal{E})\rightarrow H^k(X,\mathcal{O}). $$ It is known that automorphism, deformation and obstruction space of the sheaf $\mathcal{E}$ with fixed determinant is governed by $Ext^k_0(\mathcal{E},\mathcal{E})$ for $k=0,1,2$ respectively (see for example the famous paper by R. Thomas).

**Question**
Assume now that $X$ be a Calabi-Yau threefold ($K_X\sim0$ and $H^1(X,\mathcal{O})=0$).

- The triviality of $H^1(X,\mathcal{O})$ claims that there is no continuous deformation of line bundles. So it seems to me that deformation of the sheaf $\mathcal{E}$ always fixes its determinant. On the other hand we have $0=Ext^k_0(\mathcal{E},\mathcal{E})\ne Ext^k(\mathcal{E},\mathcal{E})=\mathbb{C}$ (for stable sheaves).
- Since we have $H^k(X,\mathcal{O})=0$ for $k=1,2$, the trace maps for $k=1,2$ are trivial and we always have $Ext_0^k(\mathcal{E},\mathcal{E})=Ext^k(\mathcal{E},\mathcal{E})$. Doesn't this also suggest that Def-Obs theory of sheaves does not see whether one fixes determinant or not?

I may totally misunderstand something (to be honest, I am beginner and don't really understand Def-Obs theory (with fixed determinant)), but I would really appreciate it if someone kindly answer my questions.