Avoid rendering part unnecesarily