Yes, the paint more than likely did that. A lot of those paints - Krylon, etc, even ones labeled "enamel" - will craze plastic. Use a good primer and it will keep the "hot" paint from the plastic. You may still encounter some issues, I have had mixed results with hardware store paints - some I like, others dry weird or do other odd things.