Fix npe when no texture is present
Fix npe when no texture is present

DanielJoyce/microtome,Microtome/microtome,DanielJoyce/microtome,Microtome/microtome,Microtome/microtome,DanielJoyce/microtome,DanielJoyce/microtome