Chickenpox as such is not known to affect libido or erection in an adverse manner, so don't worry about it on that count. It probably was due to the stress that any illness causes. Relax and don't be tense about it. Please remember, tension and stress themselves are biggest enemies of good erection.