Windows were smashed at a house where a sex offender was being housed after he left a note in children’s sweets at a shop with his number asking for naked pictures to be sent to him.