Temporary fix to redundant glBlindTexture calls, see bug 542