fixed stupid Xcode project change during clean up
small SetVisible optims
small renderstate copy optims