That's simple, deal with the action which actually causes harm. In this case, the abuse/assault committed on the child. There's already laws that cover such things, so there is no issue.
- - - Updated - - -
Because the protests weren't really about Shariah Law. They were about bashing Muslims. Look at the signs, listen to what people were actually saying.