So I have several objects that have a shaking effect. But when I have another object spawn randomly on the screen when the objects are shaking, everything flickers. I have no idea what the problem could be. When I comment out the spawn code (which I will post below) it works.
if( this.GetComponent().alpha <= 0.08 )
{
transform.position = Random.insideUnitCircle * 5;
}