Merge "Not use texture bound cache in unexpected cases" into devel/master