Fix texture bound cache issue