Fixed #5914: Remote texture is fail

Remote texture is fail