1. Never use FindChild. Add a public variable to your UISprite and drag & drop it in inspector.
2. If you do use FindChild, at the very least cache the value so you don't call FindChild more than once. It's slow enough once!
3. MakePixelPerfect only works if the sprite is a normal sprite. Sliced or tiled sprites are not affected the same way.