Hiding something should prevent it from rendering. Do you have an example where that is not the case?