Even if Hamas is sheltering in schools, it's not acceptable to consider children collateral damage.
Yes, it's despicable that Hamas uses its own people that way. That doesn't make it less of a war crime to deliberately bomb children and other non-combatants.