Mark invalid the crops with zero width or height