Using cb function on texture change to prevent flickering