Some corrections to avoid appearing/disappearing textures when not suposed to